From: Florian Müllner Date: Fri, 12 Sep 2025 11:20:43 +0000 (+0200) Subject: ci: Support "dry-run" builds of toolbox image X-Git-Tag: archive/raspbian/50.5-1+rpi1~1^2~95^2^2~12 X-Git-Url: https://dgit.raspbian.org/%22http://www.example.com/cgi/%22/%22http:/www.example.com/cgi/%22?a=commitdiff_plain;h=db5bbe4acf1b518d12fa3458ae66c2e54e81bb4d;p=gnome-shell.git ci: Support "dry-run" builds of toolbox image This will allow testing the image build without actually updating the image in the registry. Part-of: --- diff --git a/.gitlab-ci/build-toolbox-image.sh b/.gitlab-ci/build-toolbox-image.sh index bddb9ea3f..7bc13a96a 100755 --- a/.gitlab-ci/build-toolbox-image.sh +++ b/.gitlab-ci/build-toolbox-image.sh @@ -103,4 +103,6 @@ podman login -u $CI_REGISTRY_USER -p $CI_REGISTRY_PASSWORD $CI_REGISTRY build_container -podman push $TOOLBOX_IMAGE +if [[ -z "$DRY_RUN" ]]; then + podman push $TOOLBOX_IMAGE +fi